<?php
define('SILKCORE_VERSION', 1.0);
define('SILKCORE_AUTHOR', 'Brandon Clark');
define('SILKCORE_EMAIL', 'brandon.clark@eroi.com');
define('SILKCORE_WEBSITE', 'http://blog.realmofzod.com');

define('SILKCORE_DOCTYPE_XHTML10_STRICT', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">');
define('SILKCORE_DOCTYPE_XHTML10_TRANSITIONAL', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
define('SILKCORE_DOCTYPE_XHTML10_FRAMESET', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">');
define('SILKCORE_DOCTYPE_XHTML11', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">');
define('SILKCORE_DOCTYPE_HTML4_STRICT', '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">');
define('SILKCORE_DOCTYPE_HTML4_TRANSITIONAL', '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">');
define('SILKCORE_DOCTYPE_HTML4_FRAMESET', '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">');

class SilkCore_Type_Base extends Silk_Module_Type {

    protected $_meta = array();

    public function getVersion(){
	return SILKCORE_VERSION;
    }

    public function getAuthor(){
	return SILKCORE_AUTHOR;
    }

    public function getEmail(){
	return SILKCORE_EMAIL;
    }

    public function getWebsite(){
	return SILKCORE_WEBSITE;
    }

    public function getTypeMeta(){
	return $this->_meta;
    }

    public function getAssetPath(){
	return dirname(__FILE__) . '/assets';
    }

    public function getTemplatePath(){
	return dirname(__FILE__) . '/templates';
    }

    public function getHelperPath(){
	return dirname(__FILE__) . '/helpers';
    }

    protected function getTidyConfig(){
	return array(
	    'indent-spaces' => 4,
	    'indent' => 'true',
	    'wrap' => 128,
	    'output-xhtml' => 1
	);
    }
}

?>